/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import entity.Outlet;
import Helper.Helper_Area;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Chen Zhe, Lu Xiaodi
 */
@Remote
public interface OutletSBRemote {

    public java.util.List<entity.Outlet> getAllOutlets();

    public void deleteOutlet(java.lang.Long outletId);

    
    public java.lang.Boolean getAutoConfirm(java.lang.Long outletId);

    public java.lang.Integer getLeadTime(java.lang.Long outletId);

    public java.lang.Integer getBookingWindow(java.lang.Long outletId);

    public java.lang.Double getNoShowPenalty(java.lang.Long outletId);

    public entity.Outlet getOutlet(java.lang.Long outletId);

    public java.util.List<entity.Outlet> getSpecificOutlet(java.lang.String o);

    public java.lang.String updateGeneralInfo(java.lang.Long outletId, java.lang.Double noShowFee, java.lang.Boolean autoConfirm, java.lang.Integer leadTime, java.lang.Integer bookingWindow);

    public java.lang.String getRandomString(int length);

    public void createOutlet(java.lang.String stakeholderName, java.lang.String outletName, java.lang.String phoneNumber, java.lang.String employeeid, java.lang.String employeename, java.lang.String email, java.lang.String address) throws exception.ExistException;

    public boolean checkEmployeeId(java.lang.String employeeid);

    public java.util.List<entity.FoodItem> getFoodMenu(java.lang.Long outletId);

    public java.util.List<entity.FoodItem> getFeaturedFoodItems(java.lang.Long outletId);

    public java.util.List<Helper.Helper_Outlet> getAllOutletsHelper();

    public java.lang.Long searchOutletIdByStr(java.lang.String[] s);
    
    public List<Outlet> getOutletByStakeholder(String StakeholderID);

}
